<tal:block metal:define-macro="standard">

  <span tal:condition="not:det_act | NULL">
    <tal:block metal:use-macro="inventory/hardware/liste.xhtml/standard" />
  </span>

  <span tal:condition="det_act | NULL">
    <tal:block metal:use-macro="inventory/hardware/${det_act}.xhtml/standard" />
  </span>

</tal:block>